package top.itlir.edc.service;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import top.itlir.edc.domain.Order;

@Path("/order")
public interface IOrderService {

	@POST
	@Path("/saveOrder")
	@Produces({MediaType.APPLICATION_JSON})
	@Consumes({MediaType.APPLICATION_JSON})
	void saveOrder(Order order);

}
